#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>

int main()
{

 
  int ret = fork();


  if (ret == 0)
  {
    while(1)
    {
      printf("im a child process my id is : %d\n",getpid());
      sleep(2);
    }
  }
  else 
  {
    
       printf("im a father process my id is : %d\n",getpid());
       exit(1);
  }

  return 0;
}
